package org.fall.service.api;

import com.github.pagehelper.PageInfo;
import crowd.entity.Role;

import java.util.List;

/**
 * @author XZ
 * @create 2021-12-09 09:42
 */
public interface RoleService {
    PageInfo<Role> getPageInfo(int pageNum, int pageSize, String keyword);

    void saveRole(Role role);

    void updateRole(Role role);

    void removeById(List<Integer> roleIdArray);

    List<Role> queryUnAssignedRoleList(Integer adminId);

    List<Role> queryAssignedRoleList(Integer adminId);
}
